// const shell = require("shelljs");
import shell from "shelljs"
export const encodePassword = (password)=>{
    const encodePassword = shell.echo(shell.exec(`${password} | ../../../../opt/tongsuo/bin/tongsuo dgst -sm3`));
    return encodePassword;

}